<include file="public@header"/>
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('index')}">场地类型列表</a></li>
		
			<li class="active"><a href="javascript:;">编辑</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-forms margin-top-20" action="">
				<input type="hidden" name="id" value="{$id}">
			<div class="form-group">
				<label for="input-name" class="col-sm-2 control-label">场地类型<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
				<input type="hidden" name="site_type_id" value="{$data['site_type_id']}">
					<input class="form-control" type="text" name="type_id" value="{:get_cate_name(5,$data.site_type_id)}" required="true" disabled="true">
				</div>
			</div>
			<div class="form-group">
				<label for="input-name" class="col-sm-2 control-label">图片</label>
				<div class="col-md-6 col-sm-10">
					<imagetpl name="img_url" id="img" value="$data['img_url']"/>
				</div>
			</div>
		
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
				
					<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
					<a class="btn btn-default" href="{:url('index')}">{:lang('BACK')}</a>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
	
</body>
</html>